import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex);

export default new Vuex.Store({
  modules: {
    egoVuex:{
      namespaced: true,
      state: {
        tokin:''
      },
      mutations: {
        setTokin:function (state,value) {
          state.tokin = value
        },
        removeTokin:function (state,value) {
          state.tokin = ''
        }
      },
    }
  }
})
